import request from '@/utils/request' 

//气体参数
export function gasParameter(token,secretKey){
	const data = {
		token,
		secretKey
	}
	return request({
		'url':'/appmanage/paramlists',
		headers: {
		  isToken: false
		},
		'method':'get',
		'data':data
	})
	
}

//气体趋势图数据
export function GasTrendchart(token,secretKey,param_name,robot_config_id){
	const data = {
		token,
		secretKey,
		param_name,
		robot_config_id
	}
	return request({
		'url':'/appmanage/gascharts',
		headers: {
		  isToken: false
		},
		'method':'get',
		'data':data
	})
	
}